package com.cdtu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdtu.entity.CertifyType;
import com.cdtu.service.CertifyTypeService;
import com.cdtu.mapper.CertifyTypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Sakura
* @description 针对表【certify_type】的数据库操作Service实现
* @createDate 2023-01-13 15:17:24
*/
@Service
public class CertifyTypeServiceImpl extends ServiceImpl<CertifyTypeMapper, CertifyType>
    implements CertifyTypeService{

    @Autowired
    private CertifyTypeMapper typeMapper;

    @Override
    public List<CertifyType> getAllType() {

        List<CertifyType> certifyTypes = typeMapper.selectList(null);
        return certifyTypes;
    }
}




